package vo;

import java.util.HashSet;
import java.util.Set;

/**
 * Course entity. @author MyEclipse Persistence Tools
 */

public class Course implements java.io.Serializable {

	// Fields

	private Long CId;
	private Academy academy;
	private String CName;
	private String property;
	private String belong;
	private Double gpa;
	private Set selectCourses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Course() {
	}

	/** minimal constructor */
	public Course(Academy academy, String CName, String property,
			String belong, Double gpa) {
		this.academy = academy;
		this.CName = CName;
		this.property = property;
		this.belong = belong;
		this.gpa = gpa;
	}

	/** full constructor */
	public Course(Academy academy, String CName, String property,
			String belong, Double gpa, Set selectCourses) {
		this.academy = academy;
		this.CName = CName;
		this.property = property;
		this.belong = belong;
		this.gpa = gpa;
		this.selectCourses = selectCourses;
	}

	// Property accessors

	public Long getCId() {
		return this.CId;
	}

	public void setCId(Long CId) {
		this.CId = CId;
	}

	public Academy getAcademy() {
		return this.academy;
	}

	public void setAcademy(Academy academy) {
		this.academy = academy;
	}

	public String getCName() {
		return this.CName;
	}

	public void setCName(String CName) {
		this.CName = CName;
	}

	public String getProperty() {
		return this.property;
	}

	public void setProperty(String property) {
		this.property = property;
	}

	public String getBelong() {
		return this.belong;
	}

	public void setBelong(String belong) {
		this.belong = belong;
	}

	public Double getGpa() {
		return this.gpa;
	}

	public void setGpa(Double gpa) {
		this.gpa = gpa;
	}

	public Set getSelectCourses() {
		return this.selectCourses;
	}

	public void setSelectCourses(Set selectCourses) {
		this.selectCourses = selectCourses;
	}

}